Longitudinal electric conductivity in a quantum plasma with a variable collision frequency in the framework of the Mermin approach