After calling setCount the component is rerendered and the new call of
useState returns the new value. The point is that count is immutable.
So there's no typo here.
Technically it is a new variable at every render.
Source: React Github issue: Docs - Hooks: is that const a typo ?