Up counter using millis() and Arduino Uno

if (index == 0)
{
  //get a new value from the user
}
else
{
  //get the value from the EEPROM
}