As $g_{\mu\nu}$ can be taken to be symmetric, it contains 10 functions of spacetime in 4 dimensions. But, why we call these 10 functions as the degrees of freedom of the metric while they are the functions of only 4 spacetime variables?
What is meant by "degrees of freedom" here?