I think that an if block and do `num_missing += 1` is more clear than this, but keep it as you prefer.