Added example of sliding windows and getting counts