$ apt install redis-server
$ redis-cli INCR hit-count
$ redis-cli INCR hit-count
If you know that you'll need a cannon anyway, then sure, go for it, but when all we deal with are flies there's no reason to go that far. You could easily set up this kind of website on servers so simple that getting redis running on them would inflate their complexity quite considerably.