Remove the node_counter if the statistics module is uninstalled.
function node_update_7003() { if (drupal_get_installed_schema_version('statistics') == SCHEMA_UNINSTALLED) { db_drop_table('node_counter'); } }