Spark demo, now with counters