Have a look at this post: How do I call the variable "service.state_id" from a different host and service? - #5 by rivad
You could get the live output of one check (for example: about-me) to figure out the number of CPUs while constructing the arguments of your check_procs command.