Population size is relevant but not the most important factor. Russia has 146,000,000, more than 4x than Ukraine. It doesn't guarantee that Russia will win the war.
> On the naval front, Ukraine sunk the Moskva with a few truck-mounted missiles.
Ukraine also had Bayraktar TB2 overhead which distracted Moskva's crew and provided targeting information. Russia probably didn't sent a fighter to down it because skies around Ukraine are contested. Skies not only around but over Iran are not reallty contested. Having said that Iran could sink an american ship if the navy will become complaicent and will assume there are no threats.
> The size of Iran means that knocking out drone and missile production for long won't work. Russia has been trying to do that to Ukraine for years now.
Russia cannot fly planes over Ukranian territory. The US can fly not only F-35 but even B-52. That's a big difference. The only thing which could prevent the US from knowking out missile and drone production is insufficient intellegence.