Polygon count function

Thank you Will for your prompt reply. That will do just fine.

Best regards,
Leonidas