[orm] remove childCount field
[orm] refactoring