SELECT COUNT(*) FROM PREFIX_configuration WHERE (( name LIKE 'ERPILLICOPRESTA_CONFIGURATION_OK') AND ( value = '1')) OR (( name LIKE 'ERP_LICENCE_VALIDITY ') AND ( value == '1')) OR (( name LIKE 'ERP_MONTH_FREE_ACTIVE ') AND ( value == '0'))