Counties are now required to spend about two-thirds of the money from a tax enacted in 2004 on housing and programs for the homeless with serious mental illnesses or substance abuse problems.