<?php
/**
 * Order shipments HTML for meta box.
 */
defined( 'ABSPATH' ) || exit;
?>

<span class="item-count">
	<?php
	if ( ( $shippable_item_count = $shipment->get_shippable_item_count() ) > 0 ) :
		$item_count = $shipment->get_item_count();
		?>
		<?php echo esc_html( sprintf( _nx( '%1$d of %2$d item', '%1$d of %2$d items', $shippable_item_count, 'shipments', 'woocommerce-germanized' ), $item_count, $shippable_item_count ) ); ?>
	<?php endif; ?>
</span>
