count packages