>> How many cubesats can fit inside SpaceX Spacehip?
Spaceship capacity to LEO >100,000 kg (wikipedia) Cubesat max mass 1.33kg (wikipedia)
That comes out to 75k max mass cubesats.
Cubesat is (10cm)^3, 100 fit in 1m^3, 75k fit in 750m^3. Starship pressurized cargo volume is 1000m^3 (plenty of space).
At $2M per launch, it comes out to $27 per cubesat.