Added a simple method to retreive the amount of processors

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>