This site is being phased out.
The following pages link to How do you count holes in a binary image?: