That is a cute one.
But... (1 + 1 + ... + 1) "x times"?
The right hand side is only defined for non-negative integer values of x.
How can you write the symbol 1 "x times" when x is 1.5, or square root of 2, or pi? How can you add 1 to itself "x times" when x is pi? If you cannot define this for all real numbers, then the function is not from R to R and is therefore not differentiable (in the sense of real functions.)
We see the problem more clearly if we differentiate earlier in the process:
x = 1 + 1 + ... + 1
D(x)=D(1 + 1 + ... + 1)
1 = D(1) + D(1) + ... + D(1)
1 = 0
You must be able to
effectively compute the action 1 + 1 + ... + 1 "x times".
You could try to defined it for non integer values.
But if you define it as meaning x, that is
1 + 1 + ... + 1 "x times" = x,
then
that is the effective form that we would differentiate. To take the derivative of this new version we would first need to write it in its effective form. So, in this case we get D(1 + 1 + .... + 1 "x times") = D(x) = 1 by definition.