So what happens if I follow it up with this:
var test = new Box();
console.out.println(test.count);
Will that print 0 or 1? And is this approach the only way to have a static variable within a class? To create a static object of that class and make any persistent changes you want propagated to the non-static objects to the static object?