At STP, 1 mol = 6 × 10^23 molecules = 22.4 L
If x litre = 3 × 10^22 for N2 at STP, it'll be same for O3 also. Because at STP, when we talk about molecules, we consider only moles.
By Avogadro's law,
x litre of O3 will have 3×10^22 molecules.
x/2 litres will have 1.5×10^22 molecules.