Moved getcount methods into a trait and added 'email' as a supported form_field type and generally tidied up the form_helper a little