Use the code in another page and increment the view count in the database.
It is possible to determine the number of visits of a page using code. This facility helps in several ways.
We can use this in the following way:
$_SERVER['HTTP_REFERER']=="http://somesite.com/folder/name.html"