The second form should not be doing any of that. The second form should be for display only. If the controls are on the first form then the first form should be doing the counting and then simply passing that count to the second form for display and/or some other use. All forms should be responsible for themselves.
As for counting the checked CheckBoxes, assuming that they are all in the same container and there are none to be excluded then this is the easiest way:
Code:
Dim checkedBoxCount = Controls.OfType(Of CheckBox)().Count(Function(cb) cb.Checked)
That will count the checked CheckBoxes on the form itself. If they are in a Panel or GroupBox or some other container then use its Controls collection instead. Here's the long form of that code:
Code:
Dim checkedBoxCount As Integer
For Each ctrl As Control In Controls
Dim cb = TryCast(ctrl, CheckBox)
If cb IsNot Nothing AndAlso cb.Checked Then
checkedBoxCount += 1
End If
Next