client counting (for debugging)