Update get_stacktrace_for_top_thread.pl

Added options for --help, --count, and --samples .