Number! It's the flipping number!!!
Pixels are countable, they come in "Number of pixels", not "Amount of pixels"! Water comes in amounts, so does sand, unless you're talking about atoms of water or grains of sand, then it's number again. I suppose you could have said "Amount of pixel needed ..."
Anal? Moi?