add count to bip file