The principle of parts counting