total=$(count $(req "select count(id) from user;"))
shib=$(count $(req "select count(id) from user_externalaccount where accountType='shibboleth' and userPHID is not NULL;"))
ext=$(count $(req "select count(id) from user_externalaccount where userPHID not in (select userPHID from user_externalaccount where accountType='shibboleth' and userPHID is not NULL);"))
bot=$(count $(req "select count(id) from user where phid not in (select userPHID from user_externalaccount where userPHID is not NULL);"))
SQL="select right(accountID, length(accountID)-INSTR(accountID, '@')) as domain, count(*) as count from user_externalaccount where accountType='shibboleth' and userPHID is not NULL group by domain"