count subscribers api

- dry-ed up error handlings