Counting and Sampling Small Structures in Graph and Hypergraph Data Streams