added count sql operations for examples