wc command line tool in Haskell