How can you find out what is the latest block number?
All these sites display the total block count:


http://blockexplorer.com/
http://bitcoincharts.com/
http://bitcoinwatch.com/


BlockExplorer also has an API that among other things lets you get the latest block count.