For example, say im doing a limited query function like this:

```
function getLogList()
{
    $table='logs';
    $result = mysql_query("SELECT id,title,timestamp,votes FROM {$table} ORDER BY count DESC LIMIT 1, 20");
    return $result;
}

```

If the table has lets say 460 entries, is there a way I can make my function also return the total count with its return?