IT does NOT depend on the sample size
IF you know then you use the normal curve
IF you do NOT know then you replace sigma with s and use a t
IN both cases I am assuming that the underlying distribution is normal.
NOW if the sample size is large, you can use the central limit theorem to make the test/CI approximately normal.
And it's n-1=19 dfs