There were in September 2004, (a) 4,131 pupils with a Record of Needs and/or an Individualised Educational Programme in primary, secondary and special schools who had social, emotional and behavioural difficulties identified as their main difficulty in learning.