public class Sample3Impl implements Sample3 {
    private int count = 0;
    private Name2 user;

    public Sample3Impl(String first, String last) {
        user = new Name2(first, last);
    }

    public int getCount() {
        count++;

        return count;
    }

    public Name2 getUser() {
        return user;
    }
}

