Count small JS and CSS files

Resolves #398