A shell-model nuclear level density