Added stored procedures for statistics in the database.
Database updated (3).