The ATESP radio survey - III. Source counts