mp:processes-count returns the number of Lisp processes that are currently alive.
mp:processes-count
LispWorks Release Notes and Installation Guide - 23 Dec 2011