MessageManager.Repositories增加GetCount