Updated entry exit counter so now works with one mask #69