Count the Number of Complete Components — CaffeCode