nproc
Just learned about nproc which is just the number of CPUs (as opposed to lscpu which gives much more information).
lscpu