A 3N rule for the electronic properties of doped graphene