Calculate number of service instances for org and spaces tabs from CCDB service_instances