/* Count the children of an object (only children directly on 'obj')  */
uint16_t lv_obj_count_children(const lv_obj_t *obj)
/* Count the children of an object (only children directly on 'obj')  */
uint16_t lv_obj_count_children(const lv_obj_t *obj)
{
    lv_obj_t * i;
    uint16_t cnt = 0;
    LV_LL_READ(obj->child_ll, i) cnt++;
    return cnt;
}