NoteIt allows you to list notes, count them, delete them, and add notes from the command line.

http://ericasadun.com/?p=134