how to calculate staffing needs