def _get_used_lun_id_counter(mapping):
 used_luns = _get_used_lun_ids_for_mappings(mapping)
 used_lun_id_counter = collections.Counter(used_luns)
 return used_lun_id_counter

def _get_used_lun_id_counter ( mapping ) : used_luns = _get_used_lun_ids_for_mappings ( mapping ) used_lun_id_counter = collections . Counter ( used_luns ) return used_lun_id_counter
returns used lun ids with count as a dictionary .