window and counter