added children count
Merge pull request #1 from mbrickmaps/master

my changes