added counting example
added filtering example