add count query impl.
Merge pull request #11 from KiiPlatform/obj-count

add count query impl.