Amended lattice path count to discard completed routes