The update timing of Input.touchCount is later than IPointerUpHandler.OnPointerUp

When I use only one finger to touch the screen and then lift that finger, the value of Input.touchCount in the IPointerUpHandler.OnPointerUp method is 1. This is very counterintuitive. Bug or by design?

And, is there any documentation on the update timing of Input.touchCount?