Can the sms be read when there are more unread messages?

I’m trying to create a google home automation where it triggers on new sms when I’m home and asks me if I want it to be read loud.
It works fine if there is only one message that is unread, but when there is more than one the attributes change.

When there is only one sms, android.title is the sender, and android.text is the message, but when two messages is unread it changes to this:

Meaning android.text becomes the senders, and title becomes “n new messages”.
Is this because of the API does this or is this the integration? Can the sms contents still be read?