Complexity of control-affine motion planning