http://tdiary-users.sourceforge.jp/cgi-bin/wiki.cgi?count_write.rb