Lasting Tarfire's ability will check as your end step starts to see if you put a counter on a creature this turn. If you didn't, the ability won't trigger at all. Putting a counter on a creature during your end step won't cause the ability to trigger.