Removed extra variable.

Removed the count variable since pixel has the same information.