Fixed buildings and added a total command to display the amount of buildings