class Partition {

    public int numberOfElements() {
        int n = 0;
        for (SortedSet<Integer> cell : cells) {
            n += cell.size();
        }
        return n;
    }

    public  Partition();
    public  Partition(Partition other);
    public  Partition(int[][] cellData);

}