Why not just do $info = $this->getinfo(); inside your "add" function rather than pass it as a parameter? Also, this won't scale very well if you get a lot of visitors, much better to use a database.
I don't think counters are very useful anymore considering all the stat software available like Google Analytics.