collecting word count