Write SQL query to solve given problem: How many organizations are established after 1999/1/1 in a country whose GDP is under 500000?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T1.Country, COUNT(T1.Country) FROM economy AS T1 INNER JOIN organization AS T2 ON T1.Country = T2.Country WHERE T1.GDP < 500000 AND STRFTIME('%Y', T2.Established) < '1999' GROUP BY T1.Country