Backend for a real-time counter system