Notes on totally categorical theories