thread-based request counter