add count of contacts to demonstrate expr usage
fix EditWindow for contacts