The concept and applications of when a mitzvah is performed but it was done by mistake/error- does it count? In what cases?