The number of jobs in the primary sector was 8, all of which were in agriculture.
The text states that there were eight jobs within the primary sector, and all of these jobs were related to agriculture.