add attachments count to comments and reset its value

This is a db change required to prevent every _comment.html.haml render to cause a db query. Takes 120 seconds on my laptop