Improved performance for children count in level members discovery. Fixed an existing bug in count.