<commit_before>#include <iostream>

template <int argumentCount, typename T, typename... Values>
int _countTemplateArguments()
{
	return _countTemplateArguments<argumentCount+1, Values>();
}

template <int argumentCount, typename T>
int _countTemplateArguments()
{
	return argumentCount + 1;
}

template <int argumentCount>
int _countTemplateArguments()
{
	return 0;
}

template <typename T, typename... Values>
int countTemplateArguments()
{
	return _countTemplateArguments<0, T, Values>();
}

int main(int argc, char* argv[])
{
	std::cout << countTemplateArguments<1,2,3,4,5>() << std::endl;
}
<commit_msg>Variadic templates compile and run well.<commit_after>#include <iostream>

template <int argumentCount>
int _countTemplateArguments()
{
	return argumentCount;
}

template <int argumentCount, typename T, typename... Values>
int _countTemplateArguments()
{
	return _countTemplateArguments<argumentCount+1, Values... >();
}

template <typename... Values>
int countTemplateArguments(Values...)
{
	return _countTemplateArguments<0, Values...>();
}

int main(int argc, char* argv[])
{
	std::cout << "Template function was provided with " << countTemplateArguments(1,2,3,4,5,6,7,8,9,10) << " arguments."<< std::endl;
}

{'fraction_non_alphanumeric': 0.14344262295081966, 'fraction_numerical': 0.018032786885245903, 'mean_word_length': 6.311377245508982, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 17, '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': '396922', 'n_tokens_mistral': 390, 'n_tokens_neox': 371, 'n_words': 98}