error en la actualización del conteo
UPDATE `sisgral_docs_counter` SET `count` = '2',`last` = '2021-12-02 20:08:06' WHERE `id_doc` = AND CONVERT( `month` USING utf8 ) = '2021-12'