Refactoring 6: Extract temp to query (total_frequent_renter_points)