public static int Parameter_Count(string s) { Subchart chart = form.Find_Tab(s); return(chart.num_params); }