added outbox msg count method