i = fragment.num(i)

Get the fragment count. If no argument is provided, the last fragment count is returned. Otherwise, the fragment count of catalog i is returned where i ranges from 1 to the total number of catalogs. Use the fragment.catalog function or the fragment list command to obtain the catalog information. The fragment.catalog.num function can be used to obtain the catalog number closest to a specified time.

Returns:i - the number of fragments
Arguments:i - optional catalog number