xstatistics is a contributed drupal module that provides useful statistics to user. There are two block that give the site statistics.
I found it useful to combine those two blocks into one and provide all the Site Statistics in one place.
Create a new block and paste the code below, select input format as “php”