Added deprecated warning for get_core_count()