Added window_with_count