 
 struct AVERAGE {
     float  temperature;
+    int    temperatureCount;
     float  humidity;
+    int    humidityCount;
     float  pressure;
+    int    pressureCount;
     float  gas;
+    int    gasCount;
 } average;
-
-int averageCount;
 
 // Utilities
 void resetLCD();

void processSensors() {
    if (intervals.measure) {
        intervals.measure = false;
        averageCount++;
        
        float value;
        value = dht.readTemperature();
        if (String(value) != "nan") {
            data.temperature     = value; 
            average.temperature += value;           
        }
        else {
            Serial.println("Error reading Temperature.");
            average.temperature += data.temperature; 
        }
            
        value = dht.readHumidity();
        if (String(value) != "nan") {
            data.humidity     = value;
            average.humidity += value;            
        }
        else {
            Serial.println("Error reading Humidity.");
            average.humidity += data.humidity;  
        }

        char stat;

    average.pressure    = 0;
    average.gas         = 0;
    
    average.temperatureCount = 0;
    average.humidityCount    = 0;
    average.pressureCount    = 0;
    average.gasCount         = 0;
}

void geigerClick() {
