i have table structure where user_id 1 have three referd_user_id 16, 17 and 18 and positions left , left and right for referd_user_id respectively. now i want to pair count, co