Looks like I pasted in an extra }.
{
# Set it up... - add to Dashboard and options-page.
global $userdata;
if (!in_array('subscriber',array_keys($userdata->wp_capabilities))) {
add_action('activity_box_end', 'counterize_dashboard');
}
add_submenu_page('edit.php',__('Counterize II'), __('Counterize II'), 8, __FILE__, 'counterize_manage_page');
add_options_page('Counterize II Options', 'Counterize II', 8, basename(__FILE__), 'counterize_options_page');
}
That is only going to exclude 'subscribers' though. You will have to modify it to exclude other, or different, roles.