count attempts