Add counting example