Pergunta de entrevista da empresa X

Q: Given a string, how many unique palindrome substrings are there?