Get order product item count in order success page – Magento 2

I want get number of product order in order success page. This found solution magento 1.9 visit Get ordered product count in magento

<?php $_order = $this->getOrder() ?>
<?php echo $_order->getTotalItemCount();?>

but I didn’t get any solution in Magento 2

If anyone know Get order product item count in order success page phtml file, please share with me,Thanks for advance