whitespace and indentation
Properly handle non-existant quotes

They do get a result tuple because count(v) will be 0, but the rest of
the tuple is None