failed attempt at possible brute force via count comparison