Check file count from shell pattern

Raises an alert if the number of files matching the shell pattern
exceeds the supplied thresholds.
i would recommend to rename file to something like check_files_count.rb as in fact you are counting files with name matching pattern, but not patterns itself