Count Palindromic Substrings Leetcode Sql