Creates a new #GRelation with the given number of fields. Note that currently the number of fields must be 2.