int zzub_plugin_get_pattern_count ( zzub_plugin_t plugin  ) 

Returns how many patterns are associated with the plugin.