Counts words in the given input file.
Takes in a line of input. First token must be a valid file.
"-i" flag can be used to make the counting case insensitive (everything will be lowercase). Case sensitive by default.
"-p" flag can be used to specify a prefix to sort by. The token following the flag is the prefix.