Your Census are in Swedish "Folkräkning, Sveriges Befolkning" and can be seen free in Riksarkivet, ” riksarkivet.se/digitala-forskarsalen”, for the years 1860 (but 1860 only a few counties), more complete 1870, 1880,1900 and 1910. Here you can look for a name in a parish or sometimes county. – Arkiv Digital, if you pay for a period, has Sveriges Befolkning 1940, 1950, 1960
Sveriges Släktforskarförbund through ”https://www.rotterbokhandeln.se” are selling CD. They have 5 CD, 1880, 1910, 1970, 1980 and for 1990. You have to pay around 595 Swedish Kronor each. If you have an unusual surname and not know the parish you may found it here.
How many years a churchbook for the inhabitants in a parish , Husförhörsbok or Församlingsbok, depends mostly on how many pages the book have. :) and the size of a parish. Mostly there is a register in the beginning with the farms and buildings in alphabetic order and pagenumber.- In a big parish there can be serveral household books for the same years.