I'm trying to do a distinct count inside my query and return the field, but it continues to return 0.
// Get the total
$query = "select count (distinct field_name) from table_name";
$rs = $conn->execute($query);
$count = $rs->Fields(0)->value;
echo $count;
Can I not call field on a count value?