create function skeleton
remove duplicate
complete get_number_of_combatants()