Returns the number of defined variables.
This function returns the number of variables defined by a call to bdd_setvarnum.