fixed plan != count issue without end
0.1.1