the checkbox itemchecked[] will pass the selected items as an array.
to return the number of items selected, use:
<?php echo(sizeof($_POST['itemchecked'])); ?>
to store a comma seperated list of the checked items, use:
<?php echo(isset($_POST['itemchecked'])?implode(", ",$_POST['itemchecked']):""); ?>