New function to display global database stats on homescreen