Added note on complexity to get_all and get_count functions.