By the numbers, there are probably more electric stoves being used in the US, but that doesn't tell the whole story about popularity. Fewer than half the homes in America have gas hookups, so regardless of their preference, gas stoves aren't an option for some people unless they want to install propane tanks. For a builder, electric is often the simplest option.
You'll find that gas stoves are preferred by most professional chefs. The heat is easy to regulate and the response is immediate. For that pan that's about to boil over, you turn off the gas, and the heat is gone. With electric, you have to remove the pan from the heat source. Gas works with all types of cookware. In most cases, the low cost of natural gas makes for lower energy bills...and it works even when the power goes out.
Alternately, Consumer Reports found that in their tests, electric stoves heated faster than gas and are easier to clean. Many people don't feel comfortable with an open flame in the kitchen, and the "induction" electric ranges are cool to the touch. Some also find that it's easier to "simmer" at low heat with electric. The cost of electricity is generally higher than gas.
All in all, it's a wash. People have preferences bases on availability and what they're used to.