refined implementation, export number of worker types