Added option to count using utf8 encoding. e.g.: '£' is counted as 2.