Showing items from counting connected components