count done, only dp fix