number_of_total_units function

Number of total units