fixed bug where default help message was printed even when --count was passed