implemented total package counting - boom