Quantum breathing dynamics of ultracold bosons in one-dimensional harmonic traps: Unraveling the pathway from few- to many-body systems