reza ul karim's submission of Count Substrings | CodeChef