Q: How can I determine the number of checkboxes that are selected in the list screen for doing an edit.
A: Assuming that you need to access this info from Javascript event you can use the following:
$("input[name='selection[]']:checked").length
i.e.
alert($("input[name='selection[]']:checked").length);