Add word count macro