<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=1000, p=0.1, can you use RandomEdgeSamplerWithInduction to sample a subgraph by randomly sampling edges with induction and print the number of edges in the sampled graph?
### Response:
import networkx as nx
from littleballoffur import RandomEdgeSamplerWithInduction

G = nx.gnp_random_graph(n=1000, p=0.1)

sampler = RandomEdgeSamplerWithInduction()

sampler_G = sampler.sample(G)

print(len(sampler_G.edges))
<|EOT|>
