Fix for last script count when an unbound gesture is executed between two identical bound gestures (#11767)
* Fixed last script count when an unbound gesture is executed between two identical bound gestures.
* Fixed linting and slightly modify comment.
* Address review comments.
* Update what's new
Co-authored-by: Michael Curran <mick@nvaccess.org>