Given a string s, return the number of palindromic substrings (each occurrence counted separately, including single characters).
Input: A quoted string s.
Output: Integer — count of palindromic substrings.
Input: "abc"
Output: 3
Explanation: 'a','b','c'.Input: "aaa"
Output: 6
Explanation: 3 singles, 2 doubles, 1 triple.Input: "aba"
Output: 4
Explanation: 'a','b','a','aba'.1<=s.length<=1000