I've got an object filled with objects and I want to know how many items are in it. How can I do this with JS? Also running jQuery in the page.

I've got an object filled with objects and I want to know how many items are in it. How can I do this with JS? Also running jQuery in the page.

Try this:
function countProperties(obj) {
var count = 0;
for (var prop in obj) {
if (obj.hasOwnProperty(prop))
++count;
}
return count;
}
"object filled with objects" is more commonly known as an array. Anyway:
yourObject.length