added number of distinct function to runtime profiles