Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE Faculty (rank VARCHAR, sex VARCHAR)
### Question:
Show all the ranks and the number of male and female faculty for each rank.
### Answer:
SELECT rank, sex, COUNT(*) FROM Faculty GROUP BY rank, sex