Comparing ways of computation for total number of API references