adds test case for CountWindow
adds CountWindow
Merge branch 'window' into dev