我到处找,但没有找到这个函数,我需要计算报告中的项目总数电子邮件新订单,我想是(admin new order.php),所以我需要看看the numbers total products 小计下一行或其他地方

Item                       Price                       Quantity             
------------------------------------------------------------------
Product A                      $10                         4                
Product B                      $5                          1      
Product C                      $15                         2                 
Cart Totals
Cart Subtotal       $30
Count products      7 <---
Shipping Cost       $12
Order Total         $42
 我该怎么办?帮助我