Investors should look at the numbers behind rising share prices.