using System;
public class Test
{
public static void Main()
{
var count = typeof(ABC).GetFields().Length;
Console.WriteLine(count);
}
}
static class ABC
{
public static int A;
public static int B;
public static int C;
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXZhciBjb3VudCA9IHR5cGVvZihBQkMpLkdldEZpZWxkcygpLkxlbmd0aDsKICAgICAgICBDb25zb2xlLldyaXRlTGluZShjb3VudCk7Cgl9Cn0KCnN0YXRpYyBjbGFzcyBBQkMKewogIHB1YmxpYyBzdGF0aWMgaW50IEE7CiAgcHVibGljIHN0YXRpYyBpbnQgQjsKICBwdWJsaWMgc3RhdGljIGludCBDOwp9