Counting Patterns With Answers