To expand on what Ray Vickson said:
This is an example of an http://en.wikipedia.org/wiki/Equivalence_relation" . Here's an intuitive example that may help to illustrate the idea. Suppose you have 30 Lego blocks, 10 blue, 10 red, and 10 yellow. Now you decide that you want two blocks to be considered equivalent if they are the same color. So you attach all the blocks of the same color together, leaving you with 3 big Lego blocks, 1 blue, 1 red, 1 yellow. The 10 separate blocks of a given color have been turned into 1 big block.
For a more "math-y" example, consider the set \{(i,j):1 \leq i \leq 5, \, 1 \leq j \leq 5\} of ordered pairs of integers between 1 and 5, of which there are 25. Suppose now that we take two pairs to be equivalent if they have the same first entry. Then (5,1), (5,2), (5,3), (5,4), (5,5) are all equivalent, for instance, so there are only 5 distinct equivalence classes. (Really, we are just left with the numbers 1 through 5, since the second coordinate doesn't matter under the equivalence relation.)