Update the edge count for adjacentEdges=true

Change-Id: Iefb68e9a6ad0955b42d59c2aad7ba5abb02352cc