I don't think that we need to check for same types in this case. The only other return value for `count` is `0`.