Returns 1 when Either is Right, 0 otherwise.
1
0
@override int length() => foldLeft(0, (b, _) => b + 1);