I would like be able to add a subquery to my SelectModel (using MyBatis Dynamic SQL), see the the following example:
SELECT name, (COUNT id from foo_child)