Completed the code to display open ticket counts if there are any