A counter displays a number and a button increments it. The counter never changes when clicked.
Clicking the button does nothing — the number stays at 0 no matter how many times you click.
Check what value you're actually passing to setCount
Check what value you're actually passing to setCount