Threshold functions for small subgraphs in simple graphs and multigraphs. (August 2020)