How many rows are there in a table?

Counting is one of the easiest SQL statements, so it is also many people's first experience of a PostgreSQL query.