TORA - fixed total packets fn