Move counts to counts.class