take the number of shares