number of copies functionality