number_of_planning_units function

Number of planning units