Statistics for Differential Equations and Depth First Search for Enumeration of Maps in Surfaces