Implement `size_hint` for Range

Closes #8606