This method overides the FKPosition method of the same name to ensure that the Jacobian is of the proper size if the active coordinates change.
The return is the number of active output variables.