.htaccessでuse_trans_sidを設定 (phpinfoで確認済み)
同じディレクトリでindex.phpをおいて

<?php
session_start();
if (!is_set($_SESSION['count'])) $_SESSION['count'] = 0;
else $_SESSION['count']++;
?>

<html>
<body>
<?=$_SESSION['count']?><br>
<a href="index.php">link</a><br>
</body>
</html>