counting rels