# Synopsis

(macro) int ddf_GetTFIFieldCount(int tfi)

# Purpose

Get entity field count.

# Description

The number of fields in the entity TFI tfi is returned. The function ddf_GetEntityFields returns the actual array of fields. Note that this is not the total number of fields in the entity but rather the count of those defined in the DDF.

# Input

## tfi

-Entity TFI whose field count is to be returned

# Return

The count of fields defined for the entity TFI tfi.