add cpu count

also updated documentation