get the total count from the service itself.