add polygon counter