In the OnStart for the app use this code
Set(checkedBoxes,0)
For each Checkbox put the following code in the OnChecked property
Set(checkedBoxes,checkedBoxes+1)
And this goes in the OnUnChecked property
Set(checkedBoxes,checkedBoxes-1)
Then put this in the Visible property of the error label
If(checkedBoxes > 3,true,false)
And this in the Display Mode property for the button
If(checkedBoxes > 3,DisplayMode.Disabled,DisplayMode.Edit)
That should be all you need.