How to count an ant population:
1. Collect 25 ants
2. Paint a dot on their abdomens
3. Release them
4. Wait
5. Collect 25 ants again
6. Count how many are marked with dots
7. Divide 25² by this number
The result is a pretty good approximation of the size of the total ant population. To increase precision and accuracy, replace all the "25"s above with a larger number.