A formula for the Euler characteristic of $overlinemathcalM_2,n$