yes, there's a win counter in the game ram (for CPS games at least, didn't try with NeoGeo).
you need a memory debugger like TSearch to look for values that change when the win counter changes.
you do this a couple of times and you close in on that variable, because you get less and less everytime.. until you know the ones left are not random occurances of changes after a match has been won.