/** * Count WpCommentses * by UserId Index(es) * @param integer $intUserId * @return int */ public static function CountByUserId($intUserId) { // Call WpComments::QueryCount to perform the CountByUserId query return WpComments::QueryCount(QQ::Equal(QQN::WpComments()->UserId, $intUserId)); }