Updated service method to use QueryParam instead of PathParam of WordCount application.

@ParthGandhi @jwang47 I have reviewed code on the latest develop branch and proposed PR works well, and also passed all unit tests. Only still issue with DefaultValue annotation (because it not sets defaults properly, just null or zero instead). Please take a look.