Fixing flower counting bug.