getting number of processors to work with lookup table