KABUL, Afghanistan — An Afghan human rights group said Saturday that at least 78 people were killed in a joint Afghan-U.S. coalition military operation in western Afghanistan.

President Hamid Karzai condemned the violence and said most of the dead were civilians. The U.S. coalition said it believed five civilians were among those killed and that it would investigate the Afghan claims.

Meanwhile, a school principal and police official said Afghan soldiers tried to hand out food and clothes Saturday in Azizabad — the village where the U.S.-Afghan operation took place Thursday. But villagers started throwing stones at the soldiers, who then fired on the Afghans and wounded up to eight.

An Afghan Independent Human Rights Commission researcher visited Azizabad in Herat province and found 78 people had died, 15 houses were destroyed and others were damaged, the group said.

Ahmad Nader Nadery, the group's commissioner, said one of the group's researchers visited Azizabad on Friday and found that 78 people had been killed and 15 houses were destroyed. Earlier Saturday, Nadery said 88 people had been killed; he later said he had been mistaken.

Nadery said the information was preliminary and the group would publish a final report. He did not provide a breakdown of how many were civilians or militants, and said 20 women were among the dead and that children also were killed.

The Afghan Interior Ministry has said that 76 civilians died, including 50 children under the age of 15. Karzai's office said at least 70 civilians died.

The competing claims by the U.S. coalition and the two Afghan ministries were impossible to verify because of the remote and dangerous location of the battle site.

Complicating the matter, Afghan officials are known to exaggerate civilian death claims for political payback, to qualify for more compensation money from the U.S. or because of pressure from the Taliban.

Karzai said the Afghan government would soon announce "necessary measures" to prevent civilian casualties, but provided no details.

Originally the coalition said the battle killed 30 militants, but U.S. coalition spokeswoman Rumi Nielson-Green said Saturday that five civilians — two women and three children connected to the militants — were among the dead.

"Obviously there's allegations and a disconnect here. The sooner we can get that cleared up and get it official, the better off we'll all be," said U.S. coalition spokesman 1st Lt. Nathan Perry. "We had people on the ground."

Ghulam Azrat, 50, the director of the middle school in Azizabad, said he collected 60 bodies Friday morning after the bombing.

"We put the bodies in the main mosque," he told The Associated Press by phone, sometimes pausing to collect himself in between tears. "Most of these dead bodies were children and women. It took all morning to collect them."

Azrat said villagers on Saturday threw stones at Afghan soldiers who tried to give food and clothes to them. He said the soldiers fired into the crowd and wounded eight people, including one child critically wounded.

"The people were very angry," he said. "They told the soldiers, 'We don't need your food, we don't need your clothes. We want our children. We want our relatives. Can you give it to us? You cannot, so go away.'"

A spokesman for Afghan police in western Afghanistan, Rauf Ahmadi, confirmed that the demonstration took place against the soldiers, who he said fired into the air. Ahmadi said two Afghans were wounded by the gunfire.

The operation was led by Afghan National Army commandos, with support from the coalition, Nielson-Green said.

It was launched after an intelligence report that a Taliban commander, Mullah Siddiq, was inside the compound presiding over a meeting of militants, Defense Ministry spokesman Gen. Mohammad Zahir Azimi said. Siddiq was one of those killed during the raid, Azimi said.

More than 3,500 people — mostly militants — have been killed in insurgency-related violence this year, according to figures from Western and Afghan officials.

On Saturday, a roadside bomb killed 10 civilians as they rode in a small bus in southern Kandahar province, according to an Afghan police chief, Matiullah Khan. Roadside bombs are typically aimed at Afghan and NATO troops but often are triggered early and kill civilians.