added method to get count of nodes having a particular set of values<Mahesh>