既に付与されたバッジの数に基づく追加バッジ?

Hi. I was wondering if we could create a special badge for users already being granted with 30+ badges ( excluding system and discobot ).
So far this is the closest query I’ve found but is not for this use.

「いいね!」 3

ついに成功しました。(私の最初のバッジです :smile: ) ご興味のある方はこちらです

SELECT user_id, current_timestamp granted_at 
FROM user_badges  
GROUP BY user_id 
HAVING count(*) >= 30

「いいね!」 2