See, that's an issue. You should be able to understand the code you are releasing and talk about it, instead of saying "ask killer". Right now it's obvious that you do not, so please, take your time and learn more before releasing plugins.
"count" is an array of integers(numbers). "Repeat" is a string, so why do you want to see if a number is lower than "Repeat"? You probably meant to do: if(++count[id] < Repeat) because you have a Repeat define. It won't still be fine, because Repeat is defined as "2", and it should be 2. "2" is a string, 2 is a number.
If you still claim it compiles for you then you are using a different file.