Cell counting using OpenCV