ccd -nb
When one gives a limiting value
ccd -nb lim
one selects the stars which have at least "lim" sources.
ccd -nb 5