libzzub 0.2
int zzub_plugin_get_track_count ( zzub_plugin_t plugin)

Returns the number of tracks.