the complexity of _count_vert_isof()??