Updating "totalItems" method to count quantity of items