added exposure of triggers and cross ref counts