@bolbteppa My apologies i did not notice.
So What i took from that , is yes, the number of variables in the lagrangian are my degrees of freedom. And no, time is not considered as a degree of a freedom, even if it explicitly appears as t in the lagrangian