save number of toys for each tanb also in txt format