Specifying maximum number of measures to store through an argument.