Generally, you'll do time trials on your own to gauge your performance, but only meets/competition/races "count." You will also typically manage your workload/training cycle leading up to an event, so chances are, you'll be at your best when you're leading up to a competition.