title: How to count the number of common nodes in Neo4j - query
body: <p>I have graph database (neo4j) with two nodes: <strong>Person</strong>, <strong>Word</strong>.
  The <strong>Person</strong> node is in relation with <strong>Word</strong>, and for example two Person nodes can be combined with the same Word.</p>
  <p>I would like to return count of Word nodes, which are with the relationship between two Persons (two persons have relationship with the same word).</p>
  <p>For example I have the nodes <code>Person {name: 'Bart}'</code> and <code>Person {name: 'Jack'}</code>. I would like to count how many Word nodes have relationship with this two persons pic rel
  <a href="https://i.stack.imgur.com/X0SQ5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X0SQ5.png" alt="example graph database" /></a></p>