Routine App - Change Icon with conditional based on today's date

I am building an app to track my daily routine. I have data types “Activity” and “Daily Activity Completion.” When the user clicks on an icon, a Daily Activity Completion thing is created for that activity with today’s date and completion status = “yes”. In the UI, I want to change the icon when an Activity has count of Daily Activation Completion (where date = today) >=1 . I’ve also tried to get a list of Daily Activity Completion’s associated with that activity, and get the last item. I’m struggling to translate either logic into the format required for bubble’s When filter. What’s the best way to go about this?