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