How Many Planets have Been Discovered?

There are more than 340 planets known to orbit different stars in a variety of multiple planet systems. Who knew, I thought there were only 8.