def inc_count(spider, reason):
    spider_finished_count.count += 1
if spider_finished_count.count == NUMBER_OF_SPIDERS:
    pass
How to stop the reactor while several scrapy spiders are running in the same process