added support to get views count from cassandra in getcollection APIs