How can I count polygons?

You can count polygons with the polyEvaluate -f command.