json_count_values: add option to print path

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