services: Fixed undefined property 'count'.