How to Calculate Earnings Per Share