11
The Moriarty program shows that the Enterprise computer can emulate a sentient human with genius-level intelligence on command. This doesn't mean the computer itself is sentient. If "sentient personality" is simply a type of program which can be run, and the computer doesn't happen to be running...