updated getLoginUserCount to use only ResidentCounts
Merge branch 'fix-get-login-user-counts' into deploy