Show match index in place of match count

This is the implementation of https://trello.com/c/0GXqt5GF/1089-s-find-next-indicate-current-match-index.
what is the type in the array?