diff --git a/include/class.client.php b/include/class.client.php
index a650adbbe68140c3a0f8d807f46df2a9d7771460..6d62798d19f874073b91b247f4fea7ea253001ff 100644
--- a/include/class.client.php
+++ b/include/class.client.php
@@ -114,6 +114,10 @@ class Client {
         return ($stats=$this->getTicketStats())?$stats['open']:0;
     }
 
+    function getNumClosedTickets() {
+        return ($stats=$this->getTicketStats())?$stats['closed']:0;
+    }
+
     /* ------------- Static ---------------*/
     function getLastTicketIdByEmail($email) {
         $sql='SELECT ticketID FROM '.TICKET_TABLE