// first eshtablish your database connection.
$sql = mysql_query("select country, count(*) as cnt from created_form group by country order by count(*) desc;");
while($row = mysql_fetch_array($sql))
in above query created_form is a table name and country is a field name of table created_form.
if your table data is like this
than your out put will look like this.