Pages and update functions can run side effects before rendering. Here we use a `Reader (TVar Int)` to track the count
Notice how the view function expects the current state as a parameter
View Source
3