Add 'length', '[' function for TCC class. And modify the 'names' function for establishing consistency of 'length' and '['.
Add '[' and 'length' method for TCC class. And modify 'names' method for ensuring consistency of '[' and 'length'.