The beavers and dogs had a competition. In total nine animals took part.
The nine participants had the following scores: 1, 2, 2, 3, 4, 5, 5, 6, 7.
No dog scored more than any beaver.
One dog tied with a beaver.
There were also two other dogs that tied with each other.
How many dogs took part in the competition?