tp: don't add empty counter tracks

Do the same thing we do for slice tracks and check if there are any
counters present before adding the track.

Bug: https://github.com/google/perfetto/issues/799
Change-Id: Ie91f1e26f64cf6450b8a3a7b68b0b45105102ef7
diff --git a/Android.bp b/Android.bp
index 972f828..5d50ab7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13145,6 +13145,7 @@
         "src/trace_processor/perfetto_sql/stdlib/stack_trace/jit.sql",
         "src/trace_processor/perfetto_sql/stdlib/time/conversion.sql",
         "src/trace_processor/perfetto_sql/stdlib/v8/jit.sql",
+        "src/trace_processor/perfetto_sql/stdlib/viz/summary/counters.sql",
         "src/trace_processor/perfetto_sql/stdlib/viz/summary/processes.sql",
         "src/trace_processor/perfetto_sql/stdlib/viz/summary/slices.sql",
         "src/trace_processor/perfetto_sql/stdlib/viz/summary/threads.sql",