fixing email count