This comparison doesn’t tell absolutely nothing about the strength and weaknesses of dynamic types languages vs static types languages in real world projects.
Obviously dynamic languages are better for toy projects.
If for you 4-5k loc is a project of “significant size” then we must have pretty different points of view.