changed count word implementation