Added event for polygonCount