Show number of attached files in tab (fixes #39)