Relation.count

int count(const(void) * key, int field)

Returns the number of tuples in a #GRelation that have the given value in the given field.

Parameters

keythe value to compare with.
fieldthe field of each record to match.

Returns

the number of matches.

Deprecated

Rarely used API