count

abstract fun count(): RealmScalarQuery<Long>

Returns a RealmScalarQuery that counts the number of objects that fulfill the query conditions.

Return

a RealmScalarQuery that counts the number of objects for a given query.