The board of supervisors of any county may contract with any community council or council on social planning functioning within the county, which council has as a primary purpose the promotion of the public health, safety, and welfare, and which is financed in whole or in part by charitable contributions, to receive from such council the services of advice, counsel, consultation, plans, proposals, and recommendations concerning the development and conduct of effective programs to meet the social needs of the population of the county, including, but not limited to, recreational needs, and the needs of physically, mentally, and financially handicapped persons and aged persons.