was function

calculate weighted average shares -- weighted average number of common shares