Send request_count and error_count outside sensor_data