Fix bug where @odata.count is always used for iCount

When `data["@odata.count"]` is undefined, the comparison `(data["@odata.count"] !== null)` returns 'true' and the fall through to the other cases in the ternary doesn't happen.