Discrete Lusternik–Schnirelmann category