When switching to a new algorithm, will the total number of coins change or will it be equal to 21 billion?
The total amount will always be equal to 21 billion. The algorithm switch would only be to support multiple methods of mining (securing the network) and preventing ASICS's from mining as far as I understand.