Statistics for Lattice-Based Motion Planning with Optimal Motion Primitives