fix inbox count
Merge pull request #1258 from loomio/fix-inbox-count

 fix inbox count