Added count to messages usecase