SELECT count(*) as total_lotes FROM public.e505_lotes_activos;