Add call to get the database size, as JSON