Word Count Bug fixed and All test Case Scenario Covered