Here's a list of countries still flying Cobras:
U.S.: AH-1W & AH-1Z (in development)
Israel: AH-1F (AH-1S Step 3)
Taiwan: AH-1W
Turkey: AH-1W & AH-1P/S (AH-1S Step 1 and 3)
Pakistan: AH-1F (AH-1S Step 3)
Japan: AH-1S
Bahrain: AH-1F
Iran: AH-1J (how they managed to keep them flying is anyone's guess)
Jordan: AH-1F
South Korea: AH-1S
Thailand: AH-1F
Still quite a few Cobra operators out there.