                             count++
                         }
                     }
+                    
                     
                     // Track the miles.
                     if Int(self.distance_total * self.milesPerMeter) > mileCount {

        
        var movingAverage: [Double] = [0, 0, 0, 0, 0]
        var movingAverageTotal = Double(0.0)
        
        if self.points?.count > 0 {
            for p in self.points! {
                if let point = p as? Route {
                    if !started {

                        }
                        
                        if point.velocity.doubleValue > Double(0.0) {
                            // Check for outliers.
                            if point.velocity.doubleValue > bu {
                                point.velocity = NSNumber(double: bu)
                            }
                            
                            if point.velocity.doubleValue < self.velocity_low || self.velocity_low == Double(0) {
                                // @todo low is always 0.
                                self.velocity_low = point.velocity.doubleValue
