Hi there, @lucas12gomes40… assuming those rows are things stored in a data type, you should be able to do a search for those things with constraints where created by equals the user with the specified email and color equals red. Then, add the :count operator to the end of the search, and you should be good to go.
For a more specific answer, it would be good if you could share a screenshot or two, especially one of the associated data type.
What I wrote in my initial response is what you need to do. I don’t know the name of the data type, so let’s call it Lucas. You need to use this expression, Search for Lucas:count, and you need to add constraints to the search to get only the email you want and only the value you want in the other field. It’s still hard to help without seeing how the data type itself is set up and without knowing how you are defining the values you want from each of those fields.