<commit_before>package rel

import (
	"reflect"
)

type CountNode FunctionNode

func (node *CountNode) Desc() *DescendingNode {
	return &DescendingNode{Expr: node}
}

func (node *CountNode) Asc() *AscendingNode {
	return &AscendingNode{Expr: node}
}

func (node *CountNode) As(literal SqlLiteralNode) *AsNode {
	return aliasPredicationAs(node, literal)
}

func (node *CountNode) Over(visitable Visitable) *OverNode {
	return windowPredicationOver(node, visitable)
}

func (node CountNode) Eq(other CountNode) bool {
	return reflect.DeepEqual(node, other)
}
<commit_msg>Consolidated some functionality for CountNode<commit_after>package rel

import (
	"reflect"
)

type CountNode FunctionNode

func (node *CountNode) Desc() *DescendingNode {
	return orderingDesc(node)
}

func (node *CountNode) Asc() *AscendingNode {
	return orderingAsc(node)
}

func (node *CountNode) As(literal SqlLiteralNode) *AsNode {
	return aliasPredicationAs(node, literal)
}

func (node *CountNode) Over(visitable Visitable) *OverNode {
	return windowPredicationOver(node, visitable)
}

func (node CountNode) Eq(other CountNode) bool {
	return reflect.DeepEqual(node, other)
}

{'fraction_non_alphanumeric': 0.10590277777777778, 'fraction_numerical': 0.0, 'mean_word_length': 6.438709677419355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1246780', 'n_tokens_mistral': 380, 'n_tokens_neox': 376, 'n_words': 102}