fn count(&mut self, end: Time) -> usize {
        while !self.times.is_empty() && end - *self.times.front().unwrap() > self.window_size {
            self.times.pop_front();
        }
        self.times.len()
    }
// Grab the count at this time, but don't add a new time
Grab the count at this time, but don't add a new time
Grab the count at this time but don ' t add a new time
fn count(&mut self, end: Time) -> usize {
        while !self.times.is_empty() && end - *self.times.front().unwrap() > self.window_size {
            self.times.pop_front();
        }
        self.times.len()
    }
fn count ( & mut self , end : Time ) -> usize { while ! self . times . is_empty ( ) && end - * self . times . front ( ) . unwrap ( ) > self . window_size { self . times . pop_front ( ) ; } self . times . len ( ) }
Grab the count at this time, but don't add a new time
Grab the count at this time but don ' t add a new time
&mut self
end
Time