internal int GetExecutedCount(ExecuteType type) { return HasSqlTimings ? SqlTimings.Count(s => s.ExecuteType == type) : 0; }