Simple script to count rent