Viewing total number of coins mined for an Altcoin
Generally that would be the job of a block explorer application. You would have to build one for your altcoin if it doesn't exist. Otherwise you could issue rpc calls on the client and sum up all the block rewards.