0
05AB1E, 47 45 bytes
bDV.œεʒÂQ]˜ÙЀgàUʒgXQ}εYsõ:Ðg;ôËsgD0ÊsÈ**}O>≠
Try it online!
Don't mind me... just posting another overly long answer in 05AB1E that will probably be golfed by Kevin.
The ÂQ trick to see if a string is a palindrome was taken from this 05AB1E tip answer by Kevin.
Explained
bDV...