use attachments_count on attachments model
Merge pull request #1037 from loomio/perf/optimisee-comment-attachments

after comment attachment migration, enable optimisation