Corrected len(coord) to len(coord.points) and added test for relevant code path. No other cases of len(var_type_coord) found with grep -R "len("
Merge pull request #349 from iedwards/len_coord

Corrected len(coord) to len(coord.points) and added test