I wanted to show the full calculation, but that one works too.
And yes, you could do some more math to account for the 10 day drift the Julian calendar introduced but historians mostly use the proleptic Gregorian calendar which removes this for ease of use to better count orbits. If you want the actual sunrises since 1/1/0001 it should be enough to just add back 10 days.