getConnectionCount(); if (!$count) { throw new PoolError("No connections in aggregate pool"); } return $count; } }