minor edits to functional wordcount