public long count(final String username) {
        return find(username).size();
    }
Count.

@param username the username
@return the long
support/cas-server-support-gauth-dynamodb/src/main/java/org/apereo/cas/gauth/credential/DynamoDbGoogleAuthenticatorTokenCredentialRepositoryFacilitator.java