Depends on the template really. Our goal was to not hide any of the magic, the tool only really needs a build.ts file, where you define what the Build button should do.
Where do you see 4? I see package.json only. Arguably the build script. And that number doesn't increase at all with more code.
The number of files is exactly the same as if you weren't using webassembly, other than the one rust/c source file.
On AssemblyScript I see:
- tsconfig.json
- gulpfile.js
- package.json
- setup.js
AssemblyScript is slightly more involved because the author of the template loads the compiler dynamically.