number_variables_dataset function

Method that returns the number of variables in a dataset directory