Updated service to return number of list items