How is a resource group’s capacity derived for resource planning?