remove redundant check for start/end
count_features_of_type can count all features
(should be appended to last commit)
new add_relation method. fixes #28