public static int returnTaskAmount() { List <string> groups = GlobalVariables.returnTaskGroups(); return(groups.Count()); }