getNrOfEdgeProps func and tests