Static typing leads to large codebases with more files and classes compared to dynamically typed languages. It also forces the continual creation of logic which has nothing to do with the actual problem being solved. And which have to be maintained too.
Fallacy Of False Cause
The static typing is not the cause of larger files, but perhaps instead the style of the syntax. As a counter-example: a haskell implementation might be shorter than ColdFusion.