comments explaining what counts_hist is