That is his source...lol
Anyway, thoses results from the db will be pulled into an array right? Why not just count the array instead of the database?
http://php.net/count
btw really nice pictures, i looked at quite a few. Nice trip it must have been.