How many elements are in matrix T?