If anybody is still using this component and encounter problems after upgrading Discourse to 2.9.0.beta3, have a try with my fix: GitHub - freemdict/discourse-post-views-counter-theme. Remember to disable or remove the previous version of component.
I basically changed only one line of code: Fix bug brought by Discourse 2.9.0.beta3 路 freemdict/discourse-post-views-counter-theme@3f337c0 路 GitHub.