fix label counts for patches
check if y is not None
Merge pull request #421 from memimo/grid

fix label counts for patches