Did you find out the gender before the 20 week anatomy scan?

If so...did you pay for a genetic blood test? Pay for an elective u/s?

If you did the u/s - how many weeks did you do it at and how much did you pay? Were they able to tell the gender on the first try?