Connecting the gremlin count method to the spark count method. Making the SparkGremlinPipeline re-usable