"Quanto" refers to quantity in general, and it can be used to refer to time ("tra quanto passa l'autobus?" - "how long till the next bus?"), length ("quanto è distante?" - "how far is it?"), weight ("quanto pesa?" - "how much does it weigh?"), and so on.