Scope fix

Currently system return wrong count, When we check mailbox.sentbox.count it returns total count not only distinct count so the result of mailbox.sentbox.count is not equal to ailbox.sentbox.all.length it should be same