The number of variables: count($GET)
How to get the names and values:
foreach ($_GET as $key=>$value) {
echo($key." = ".$value."\n");
}
Or you can use print_r($_GET), but it's not separated into values there...
Change $GET[] to $POST[] depending on how the form is submitted.