get_efa_nfactors function

Small helper function to obtain number of factors for an EFA output section