Read input & count words from file specified as a command line argument