Before building a model it helps to know how big it will be and what its tensors look like. A parameter count is a quick check that your code matches the paper, and a shape trace is the quickest way to find where a bug lives.
You will design a model of a given size, write the counter, and trace shapes from token embeddings to logits.