Added the total statistics to the map legend on the main page depending on what is being shown.