[SQ] Add COUNT window function