added numberOfClients to catch COOK-3327