pipeline: add statistics for ports and tables