adding support in core api for querying counters