Added get account count api to management