String interpolation, counting characters and string equality