public static long findUniqueUserCount ( EntityManager em ) { TypedQuery < Long > query = em . createNamedQuery ( "PrincipalUser.findUniqueUserCount" , Long . class ) ; return query . getSingleResult ( ) ; }
Returns the unique user count .