The best way to get stats like that is to use a stats package to analyze the web server logs. Most hosting providers offer some stats package with their hosting.
There are a number of commercial and open source web log analyzers out there.
In addition to the stats that my host provides, I download the web log files and use the free open source awstats to analyze my logs.
Hope it helps,
Joe