how to calculate share of market