Fixed an oversight in counting edges.
Fixed an oversight in counting edges.

polymec/polyamri-dev,polymec/polyamri-dev,jjphatt/polyamri-dev,polymec/polyamri-dev,jjphatt/polyamri-dev,jjphatt/polyamri-dev,jjphatt/polyamri-dev