Fix comments counter cache (update counters)
Add document counter cache.
Add document attachment presence indicator.