Miguel made 989 pieces of peanut brittle to share with his friends. He put 9 pieces of peanut brittle in each tin. How many tins was Miguel able to fill?