Fixed program to count uppercase as well.