How do you get total supply/market cap?

Check this thread