Comments - as regard them?

Gentlemen,

I am developing a script in sql, and I wonder how many comments each ticket
is created.
What would my sql query?

From what I saw, the ticket data are in Table guaradados attachments.

Thank you in advance.

Felipe
BR

" A dúvida é o principio da sabedoria "