Add translation progress metrics
Add regex null check