Passed to getProgramParameter to get the number of attributes active in a program.
getProgramParameter
MDN Reference