About a stock's quantity

When a company is listed in stock market, we know how the share price initializing for this. How a company decides the quantity of shares they will available for Stock market?