<commit_before><?php

namespace PHPtricks\Orm\Operations;

trait Main
{
	use Where;
	use Cond;
	use Other;

	/**
	 * get count of rows for last select query
	 * @return int
	 */
	public function count()
	{
		$results = (array)$this->results();
		return isset($results[0]) ? count($this->_results) : 1;
	}
}<commit_msg>Update Main.php<commit_after><?php

namespace PHPtricks\Orm\Operations;

trait Main
{
	use Where;
	use Cond;
	use parseWhere;
	use Other;

	/**
	 * get count of rows for last select query
	 * @return int
	 */
	public function count()
	{
		$results = (array)$this->results();
		return isset($results[0]) ? count($this->_results) : 1;
	}
}
{'fraction_non_alphanumeric': 0.14961832061068703, 'fraction_numerical': 0.0061068702290076335, 'mean_word_length': 3.753623188405797, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5427974', 'n_tokens_mistral': 238, 'n_tokens_neox': 230, 'n_words': 63}