Use a CTE counts with each user_id and its number of logins n. Show users with 4 or more logins.
counts
user_id
n
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.