Static Fields

To have a field be truly global for your program you can mark it as static.

class Count {
    static int value;
}