How to reset counter

I am making a clicker game and I am using sprites to display the number of times you’ve clicked. I have gotten it working, but after you hit ten I want it to reset, but I can’t figure it out.
Here’s my code:
if (coffee > 10)
{
spriteRenderer.sprite = sprite0;
}

if (coffee > 10)
{
spriteRenderer.sprite = sprite0;
coffee = 0;
}