Problem 1002 ANSWER FOR THE SECOND SAMPLE SHOULDN'T BE 17?

aleir | 2016-03-19 19:30:29Author
ANSWER FOR THE SECOND SAMPLE SHOULDN'T BE 17? IN THE EXPLANATION THERE ARE 17 SETS
nightlemon | 2016-03-19 19:37:28# 1
DZY wants to know the SUM of the SIZES of all the connected sets