I have a main method that reads the contents of a text file and adds those contents to an `ArrayList` of `Membership` (an object I created). Each `Membership` object has a state of origin. I need a way to count the number of members from each individual state and compare them. Any ideas?

```
public class Membership {

    @Override
    public String toString() {
        return "Membership Information ID=" + ID + ", Name=" + name + ", Phone=" + phone + ", State=" + state + ", Email=" + email
                + ", Company=" + company;
    }
    private String ID;
    private String name;
    private String phone;
    private String state;
    private String email;
    private String company;
    private String DOB;
    private String MemDate;
    private String age;

    public Membership(String iD, String name, String phone, String state,String company, String DOB,String MemDate, String email) {
        super();
        ID = iD;
        this.DOB = DOB;
        this.MemDate = MemDate;
        this.name = name;
        this.phone = phone;
        this.state = state;
        this.email = email;
        this.company = company;
    }
    public String getDOB() {
        return DOB;
    }

    public int getAge(){
        String shortDate = DOB.substring(DOB.length() - 4);
        int b = Integer.parseInt(shortDate);
        return 2016 - b;
    }
    public void setDOB(String dOB) {
        DOB = dOB;
    }
    public String getMemDate() {
        return MemDate;
    }
    public void setMemDate(String memDate) {
        MemDate = memDate;
    }
    public String getID() {
        return ID;
    }
    public void setID(String iD) {
        ID = iD;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getState() {
        return state;
    }
    public void setState(String state) {
        this.state = state;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getCompany() {
        return company;
    }
    public void setCompany(String company) {
        this.company = company;
    }

}

```