On the refined counting of graphs on surfaces