Shivam Bajaj's submission of Count Substrings | CodeChef