Correctly get length of results DOH