Added Python script to compute statistics from DB.