No,
rpm doesn't measure how many times it fires, it measures how many revolutions the crank does. a 4-stroke spinning at 5,000rpm is going the same speed as a 2-stroke at 5,000rpm.
The 4-stroke however is only firing 2,500 times per minute, whereas the 2-stroke is firing 5,000 times per minute.
ok that makes twice more sence!