was testing around, there was a mistake on the script, actually:
if(getmonsterinfo(killedrid,0)==getmonsterinfo(1008,0))
doesn't work at all, so any monster you'd kill would increase the counter, the real script is like this:
if(killedrid==1002) // and replace the 1002 for any monster ID
that way, only the monster ID you choose would increase the counter.