count ore stuff