You may think you're being clear but let's try for even clearer. When you say you want to "reset my Arduino" do you mean
a) do the same as pressing the Reset button would do i.e initialise everything and run setup() again?
or
b) reset just the count so it restarts counting from zero?
Which one ? Only I can't see any code which is even attempting to do the first of those...and that's what most people understand by "resetting the Arduino".
Steve