The number of cycles will vary with CPU. So will the means of calculating them.
"CPU cycle" is rather loosely defined as "the time needed for one simple processor operation", with addition often considered as representative of the "simple processor operation". Sometimes "CPU cycle" is specified as the reciprocal of clock rate. The two definitions might often be close, but are not necessarily equivalent.
Even if you get over the ambiguity of what "CPU cycle" means, no code will simply do an addition (or a subtraction or a multiplication) in isolation. There will be things like evaluating or fetching values of operands, as well - which may or may not be counted, and the actual duration of each operation (or instruction) varies with CPU.
And then there are CPU features like pipelining (so one operation may be commenced while a preceding one is partially completed) which makes measures like CPU cycles meaningless with quite a few modern CPUs.