How can I count how many checkbox are selected on a checkbox field.