Changed count comparison operator

Changed the equals comparison to a greater than comparison in order to make sure it works with random initialized bits.