Basic statistics for spark streaming