ah, I know: we already have a "number" property that is used to have the count of attachments... see https://github.com/mozilla-b2g/gaia/blob/9833e85a97f2759844e6fbbd445f04844a9b590f/apps/gallery/js/gallery.js#L1128