How number of shares decided

Read Stock Market Basics corporate actions also knew how IPOs get introduced…

But one question always remained un-answered at my end that how number of shares into perticular organisation is being decided?

Wondering If I could eloborated answer here,pls.