'Get all objects count associated to the lungroup.'

def get_obj_count_from_lungroup(self, lungroup_id):

    lun_count = self._get_obj_count_from_lungroup_by_type(lungroup_id, constants.LUN_TYPE)
    snapshot_count = self._get_obj_count_from_lungroup_by_type(lungroup_id, constants.SNAPSHOT_TYPE)
    return (int(lun_count) + int(snapshot_count))
