Count occurances

You are given an array of signed integer words starting at ARR for length N words. You are also given X.

You are to count the number of times that X appears in ARR, and store the value in COUNT and then call the break instruction.