The chapter explicitly states that 'pencil' and 'eraser' are countable nouns because they can be counted (e.g., 'one pencil or two pencils').
Class 6 › English Grammar and Composition › Chapter 1: Parts of Speech › Topic: Countable and Uncountable Nouns (Measure words)
Aligned to the NCTB national curriculum.