10
You have:
myArray = $('testClass');
alert(myArray.count);
You want:
myArray = $('.testClass');
alert(myArray.length);
Notice, first, the . for testClass. Then, myArray is a JavaScript object, so you have access to the length key.