Please consider the more readable alternative:
```
try:
    reftimes[cube.coord('time').units.origin] += 1
except CoordinateNotFoundError:
    pass
```