I'm running the following query, expecting it to return an INTEGER, but it returns "Resource id #3"  

What am I doing wrong?

```
$queryPlans = mysql_query("SELECT count(*) FROM infostash.rooms");
echo $queryPlans;

```

There are actually 15 rows in this table, and I would like to return the number 15.
Any suggestions?