Add preferences method for returning total courses