updated days counter to integer