I use 4 spaces always regardless of the language, but as Jukka, who originally wrote majority of the file, has used 3 for some reason, I've used that as well for consistency.