Added --count flag. Reversed the behaviour of --nomatch.