How to get number of spatials inside another's bounds?

Well, the title says it all I guess. How would I find the number of spatials inside another spatial’s bounds?

Nevermind, I figured it out:

[java]
spatial.getParent().collideWith(mySpatial.getWorldBounds(), collisionResults);

int numOfSpatialsInBounds = collisionResults.size();
[/java]