Script [8.2.1]:
set studentData to {myName:"Nayan Seth", myAge:20}
set recordSize to count of studentData
Explanation: The above Script creates a record named studentData. recordSize contains total number of properties present in studentData. This is done using the keyword count.
Figure 8.2.1 Count of Properties