title: Does Gremlin bothE() double count Edges?
body: <p>I am trying to count number of objects in my graph. However, the Vertices must belong to a specific set of keys, so I do the following:  </p>
  
  <p>For Vertices, I use:<br>
  <code>g.V().has('document_id', P.within(list_o_keys)).count().next()</code>  </p>
  
  <p>For Edges, I use:<br>
  <code>g.V().has('document_id', P.within(list_o_keys)).bothE().count().next()</code>  </p>
  
  <p>Since I have relationships between those Vertices, does this result in <strong>double counting of Edges</strong>?<br>
  e.g. for a relationship A->B it will count as 2 Edges since <code>bothE()</code> will return edges out of A and edges into B?  </p>