select count(*) validated from tbl_FSPro_members where loginEnabled = 1 and fspro_password = and email = select artifact from tbl_SSO_Artifacts where artifactId = #qmd_lookupArtifact.artifact#