add attachments count