Dhruv Patel's submission of Count Substrings | CodeChef