Move count variable outside loop.
Move count variable outside loop.

Testing Done:
I'm pretty sure this is just a bug, right? Before this change the debugging output would only include the count of the last pattern if there was more than one.

Bugs closed: 1263

Reviewed at https://rbcommons.com/s/twitter/r/1926/

twitter/pants,baroquebobcat/pants,tdyas/pants,dgomez10/xanon,gmalmquist/pants,landism/pants,kwlzn/pants,mateor/pants,UnrememberMe/pants,Gabriel439/pants,15Dkatz/pants,landism/pants,lahosken/pants,wisechengyi/pants,slyphon/pants,benjyw/pants,tdyas/pants,areitz/pants,sid-kap/pants,ity/pants,UnrememberMe/pants,UnrememberMe/pants,mateor/pants,areitz/pants,wisechengyi/pants,digwanderlust/pants,kwlzn/pants,dgomez10/xanon,kslundberg/pants,TansyArron/pants,twitter/pants,pantsbuild/pants,qma/pants,dgomez10/xanon,digwanderlust/pants,baroquebobcat/pants,ity/pants,cevaris/pants,foursquare/pants,TansyArron/pants,pgroudas/pants,sameerparekh/pants,megaserg/pants,benjyw/pants,dgomez10/xanon,manasapte/pants,15Dkatz/pants,pgroudas/pants,qma/pants,tdyas/pants,dgomez10/xanon,gmalmquist/pants,jtrobec/pants,pgroudas/pants,di0spyr0s/pants,peiyuwang/pants,foursquare/pants,ericzundel/pants,dturner-tw/pants,qma/pants,pombredanne/pants,scode/pants,twitter/pants,jessrosenfield/pants,dturner-tw/pants,cevaris/pants,pantsbuild/pants,di0spyr0s/pants,megaserg/pants,areitz/pants,di0spyr0s/pants,landism/pants,15Dkatz/pants,dgomez10/xanon,ericzundel/pants,dturner-tw/pants,digwanderlust/pants,dbentley/pants,pombredanne/pants,mateor/pants,mateor/pants,wisechengyi/pants,pantsbuild/pants,lahosken/pants,Gabriel439/pants,areitz/pants,kslundberg/pants,pombredanne/pants,pgroudas/pants,digwanderlust/pants,baroquebobcat/pants,lahosken/pants,di0spyr0s/pants,kslundberg/pants,jtrobec/pants,UnrememberMe/pants,di0spyr0s/pants,slyphon/pants,lahosken/pants,kslundberg/pants,ericzundel/pants,landism/pants,ity/pants,ity/pants,digwanderlust/pants,laurentgo/pants,benjyw/pants,fkorotkov/pants,foursquare/pants,jsirois/pants,jessrosenfield/pants,dbentley/pants,twitter/pants,15Dkatz/pants,foursquare/pants,gmalmquist/pants,pantsbuild/pants,Gabriel439/pants,peiyuwang/pants,Gabriel439/pants,benjyw/pants,lahosken/pants,15Dkatz/pants,lahosken/pants,fkorotkov/pants,jtrobec/pants,kwlzn/pants,slyphon/pants,twitter/pants,gmalmquist/pants,sameerparekh/pants,cevaris/pants,baroquebobcat/pants,ericzundel/pants,slyphon/pants,foursquare/pants,pantsbuild/pants,lahosken/pants,peiyuwang/pants,ericzundel/pants,sameerparekh/pants,slyphon/pants,scode/pants,areitz/pants,tdyas/pants,pombredanne/pants,fkorotkov/pants,kslundberg/pants,TansyArron/pants,TansyArron/pants,megaserg/pants,jsirois/pants,dbentley/pants,scode/pants,jessrosenfield/pants,jtrobec/pants,tdyas/pants,landism/pants,di0spyr0s/pants,sid-kap/pants,jsirois/pants,foursquare/pants,wisechengyi/pants,mateor/pants,dturner-tw/pants,kwlzn/pants,mateor/pants,baroquebobcat/pants,dbentley/pants,ericzundel/pants,wisechengyi/pants,kslundberg/pants,twitter/pants,dgomez10/xanon,slyphon/pants,scode/pants,pombredanne/pants,areitz/pants,Gabriel439/pants,lahosken/pants,megaserg/pants,jtrobec/pants,ericzundel/pants,UnrememberMe/pants,sid-kap/pants,Gabriel439/pants,scode/pants,qma/pants,TansyArron/pants,wisechengyi/pants,peiyuwang/pants,pombredanne/pants,Gabriel439/pants,manasapte/pants,megaserg/pants,UnrememberMe/pants,jessrosenfield/pants,qma/pants,UnrememberMe/pants,baroquebobcat/pants,laurentgo/pants,peiyuwang/pants,sid-kap/pants,manasapte/pants,baroquebobcat/pants,dgomez10/xanon,pantsbuild/pants,ity/pants,sameerparekh/pants,kwlzn/pants,scode/pants,foursquare/pants,megaserg/pants,baroquebobcat/pants,sid-kap/pants,pantsbuild/pants,dturner-tw/pants,kwlzn/pants,foursquare/pants,15Dkatz/pants,TansyArron/pants,jtrobec/pants,gmalmquist/pants,fkorotkov/pants,sid-kap/pants,benjyw/pants,foursquare/pants,twitter/pants,tdyas/pants,laurentgo/pants,qma/pants,sameerparekh/pants,landism/pants,wisechengyi/pants,mateor/pants,tdyas/pants,dturner-tw/pants,laurentgo/pants,slyphon/pants,fkorotkov/pants,manasapte/pants,15Dkatz/pants,gmalmquist/pants,twitter/pants,dbentley/pants,areitz/pants,landism/pants,fkorotkov/pants,peiyuwang/pants,kwlzn/pants,dgomez10/xanon,gmalmquist/pants,scode/pants,dbentley/pants,cevaris/pants,cevaris/pants,jtrobec/pants,wisechengyi/pants,megaserg/pants,landism/pants,mateor/pants,cevaris/pants,ericzundel/pants,benjyw/pants,dbentley/pants,wisechengyi/pants,fkorotkov/pants,pgroudas/pants,laurentgo/pants,UnrememberMe/pants,twitter/pants,sameerparekh/pants,di0spyr0s/pants,jessrosenfield/pants,pgroudas/pants,jessrosenfield/pants,ity/pants,UnrememberMe/pants,cevaris/pants,qma/pants,dgomez10/xanon,benjyw/pants,fkorotkov/pants,peiyuwang/pants,tdyas/pants,pombredanne/pants,kslundberg/pants,15Dkatz/pants,manasapte/pants,jessrosenfield/pants,sid-kap/pants,digwanderlust/pants,dturner-tw/pants,baroquebobcat/pants,TansyArron/pants,sameerparekh/pants,ity/pants,manasapte/pants,manasapte/pants,tdyas/pants,dgomez10/xanon,laurentgo/pants,peiyuwang/pants