Akshay Joshi's submission of Count Substrings | CodeChef