added ruby word count