Gu Chen is a ghost. He knew he was a ghost when he was conscious. He didn't know how many years he had been a ghost because he was always tired and always wanted to sleep.
Every time I wake up, the world is different from what it was before I fell asleep, probably for many, many years.