Implement scalable word count locally | Adobe SQL Question