FBXGetTakeCount;
Returns the number of takes saved in the file stored in the file buffer.
You can load a file into the file buffer with the FBXRead command.
If Maya FBX plug-in does not find any takes in the file, the script returns a value of 0.