I am trying to return the correct count of messages (length of listMessage) from the function below. I can retrieve correct message Objects into listMessa
listMessage
listMessa