added counting example