added stopwatch and method to count and prepend number of different characters