script to count the number of rules in a CSS file
A super-simple script that counts up the number of CSS selectors in a file. Useful for checking against Internet Explorer's CSS selector limit.
$ npm -g install csscount
$ csscount style.css1337
csscount can also read from stdin:
$ scss style.scss | csscount -9001