How to Add View Count in WordPress Themes

http://wpsnipp.com/index.php/functions-php/track-post-views-without-a-plugin-using-post-meta/