Hello All ,Please find the attached OT Script to Get Number of Count for Piping part and Piping Line Instance.
Thanks..