Characterisation of a counting imaging detector for electron detection in the energy range 10-20 keV