Changed getNumTriangles() to use a copy of mChildren().

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>