Display a post’s view count right on the post itself — and then choose who gets to see it….

Fuente: Show the Number of Views of a WordPress Post on the Front End