Small fixes

Make sure the right exit status is reported when using --run-from-stdin
with more than 1 command.

For json_count_values, only print path when there are results and print_path
is true.

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>