CRUNCH-464: Empty PCollection returns null Long for length().getValue(). Contributed by Jeremy Beard.