You need to fetch the first (only) row from your result set, then get the field var_count.
I'm not sure of the exact syntax with your connection but with odbc it would be
odbc_fetch_row($rs_users); //get next row
$count = odbc_result($rs_users,"var_count"); // get field value
Some databases let you fetch in to an array thus
list($count) = mysql_fetch_row($rs_users);
//or
$rec = mysql_fetch_array($rs_users);
$count = $rec["var_count"];
Check the manual to find the equivalent functions.
hth