Not at all clear why you're going to such trouble just for a counter:
<?php
session_start();
if(!isset($SESSION['count'])
{
$SESSION['count']=0;
echo...
}else{
$_SESSION['count']++;
echo...
}
?>
Should be enough.
You have two problems causing warnings.
1) The script had already output stuff before you called session_start(). It may have been html, it may have just been a blank line at the top of the file before the forst <?, but it was output. All that is "content". And the http protocol species that all headers for a request have to be sent before any content.
2) You need to fix your php.ini so that it refers to a real directory for storing session data. Right now it says "/tmp" - which is the conventional temporary directory on a Unix machine. You need to change it to a suitable directory name on your system. Some people use c:\windows\temp, but I think you might as well have a d:\temp directory and use that.