Implement a very simple program to count the max continuous characters.