method:total_segments ();return type:intcontent:ใช้คืนค่า จำนวนของ segment ทั้งหมดexample:$uri = new URI (); $total = $uri->total_segments ();