The number of rebars are controlled by two considerations:
1. The physical constraint due to beam width, clear concrete cover, bar size and bar spacing.
2. Maximum reinforcing allowed to achieve ductile failure mode (<0.75 balanced reinforcing ratio. For practical concerns, 0.5 is usually used in lieu of 0.75.)
When more than one layer of bars are to be placed, the effective depth reduces, the strength gained by adding bars sometimes are not very significant compared to the loss in ductility, and a lot of headaches such as difficulty in rebar placing and concrete pouring/consolidation. Also to be noted, the study on behavior of concrete beams with layered/boundled bars is very limited, if any. So, try to increase the beam size first if you can.