Counts the number of constraint elements.
Overrides Constraint::count
public function count() : int { return 0; }