Autocommit after "n" actions

maintain a counter. After "n" (MeuhDB connection parameters), the database is committed.