It's usually best to use structured queries (eg: in SQL) directly in your database to collect the tallies, since it scales better with high amounts of participants, but if you must you can collect the tally directly from individual judgments, with a `CollectedTally`.
It's usually best to use structured queries (eg: in SQL) directly in your database to collect the tallies, since it scales better with high amounts of participants, but if you must you can collect the tally directly from individual judgments, with a `CollectedTally`.
```java
```java
Integer amountOfProposals = 3;
Integer amountOfProposals = 2;
Integer amountOfGrades = 4;
Integer amountOfGrades = 4;
DeliberatorInterface mj = new MajorityJudgmentDeliberator();
DeliberatorInterface mj = new MajorityJudgmentDeliberator();
CollectedTally tally = new CollectedTally(amountOfProposals, amountOfGrades);
CollectedTally tally = new CollectedTally(amountOfProposals, amountOfGrades);
Integer firstProposal = 0;
Integer firstProposal = 0;
Integer secondProposal = 1;
Integer secondProposal = 1;
Integer thirdProposal = 2;
Integer gradeReject = 0;
Integer gradeReject = 0;
Integer gradePassable = 1;
Integer gradePassable = 1;
Integer gradeGood = 2;
Integer gradeGood = 2;
Integer gradeExcellent = 3;
Integer gradeExcellent = 3;
// Collect the judgments one-by-one with `collect()`, for example:
// Collect the judgments, one-by-one, with `collect()`