How do I get a table of frequencies of each feature per sample?

An off-topic reply has been split into a new topic: Normalization necessary when converting to relative frequencies?

Please keep replies on-topic in the future.