@xpgws23 – Files are definitely a second class type of object – maybe even a 3rd class, given the challenges or working with them. I have to comment that HubSpot has seemingly tied itself in knots trying to insulate even the API user from file access and manipulation.
The documentation say that all files attached to an object (Contact, Ticket, etc.) are added via a Notes object. https://developers.hubspot.com/docs/api-reference/legacy/files/guide
This is perhaps the ideal way to do things, but it is a nonsense statement as far as I can see. It’s possible to add a File type property to any object and you will be able to see attached files and add to them in the UI. Under the skin, the property is just a list of file object IDs separated by “;” – although they are wrapped up in an indirection mechanism intended to regulate access permissions.
But, as to your question, both storage mechanisms can really only be unpicked with an API level call, and a count of results to give you the file number you want. That’s how I see it anyhow.
Hope this is helpful in some way.
Steve