Why did it become half a billion dollar worth in one day? What is special about YAM?
If a billion tokens are available, the market cap is $0.5B if you sell a single token for $0.5. That's what happened yesterday more or less. You won't be able sell all tokens for $0.5B, so saying they are worth $0.5B is misleading for such a volatile and young project.
The metric works much better (but not perfect) for established shares, financial products or contracts for physical objects.
Just like “How much US$ is out there in paper currency?”. Impossible to know, especially as it’s never been demonetized, but models exist and are used.