live counting working for 2 fields