Implemented seed and count functionality