Sorting out cpu_count

Summary:

Test Plan: psyduck

Reviewers: adam, alex, anders, ankur, arthur, chase, dolphinigle, jvictor, manu, marko, mom, nika, nikita, pieguy, rumen

CC: engineering

Maniphest Tasks: