Add method to get the total number of shares (#5)