In dozens of countries, homosexuality is still considered a crime, sometimes publishable by imprisonment or even death. The exact number of countries with criminal laws against sexual activity of LGBTs lies between 76 to 83 (depending on your definition).

More info here.