code: def connect_discussion_signals():
      
      post_save.connect(
          count_discussions_handler, sender=comment_model,
          dispatch_uid=COMMENT_PS_COUNT_DISCUSSIONS)
      post_delete.connect(
          count_discussions_handler, sender=comment_model,
          dispatch_uid=COMMENT_PD_COUNT_DISCUSSIONS)
      comment_was_flagged.connect(
          count_discussions_handler, sender=comment_model,
          dispatch_uid=COMMENT_WF_COUNT_DISCUSSIONS)
      comment_was_posted.connect(
          count_comments_handler, sender=comment_model,
          dispatch_uid=COMMENT_WP_COUNT_COMMENTS)
      pingback_was_posted.connect(
          count_pingbacks_handler, sender=comment_model,
          dispatch_uid=PINGBACK_WF_COUNT_PINGBACKS)
      trackback_was_posted.connect(
          count_trackbacks_handler, sender=comment_model,
          dispatch_uid=TRACKBACK_WF_COUNT_TRACKBACKS)
docs: Connect all the signals on the Comment model to
      maintains a valid discussion count on each entries
      when an action is done with the comments.