Added method and tests for limiting list by count and time