A preliminary tally from Japan’s census found the population had fallen by more than three million since the survey was last conducted in 2020.