What is the sum of the number of districts (kecamatan) in the geographical unit of java with more than 4 recencies (kabupaten) and less than 8,577 villages?
SELECT SUM Number of Districts (kecamatan) FROM table WHERE Geographical unit = java AND Number of Regencies (kabupaten) > 4 AND Villages < 8,577