cpu counting script